import { ICellData } from '@univerjs/core';
import { JnpfSheetsCellService } from '../services/sheet-cell.service';

export class JnpfFacadeSheetsCell {
  constructor(private readonly _jnpfSheetsCellService: JnpfSheetsCellService) { }

  getCellData(col: number, row: number) {
    return this._jnpfSheetsCellService?.getCellData(col, row);
  }

  setCellData(col: number, row: number, cellData: ICellData) {
    return this._jnpfSheetsCellService?.setCellData(col, row, cellData);
  }

  refreshRangeCellsView(range: any) {
    return this._jnpfSheetsCellService?.refreshRangeCellsView(range);
  }
}
